import Vue from 'vue'
import request from './request'

// 请求
const header = () => {
  return {
    'qf-channel-bomc-token': sessionStorage.getItem('token'),
    'X-Requested-With': 'XMLHttpRequest',
    'Content-Type': 'application/json; charset=UTF-8'
  }
}
Vue.use(request, {
  header
})
